<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <script>
      console.log(document.documentElement.clientWidth);
      var scale = 1;
      scale = 1 / window.devicePixelRatio;
      document.write('<meta name="viewport" content="width=device-width,initial-scale='+ scale +',minimum-scale='+ scale +',maximum-scale='+ scale +',user-scalable=no">');
      var iWidth = document.documentElement.clientWidth;
      console.log(iWidth);
      document.getElementsByTagName("html")[0].style.fontSize = iWidth / 16 + "px";
    </script>
    <title>one</title>
    <style>
      html,body{
        margin:0;
        padding:0;
        height:100%;
        width:100%;
        /* overflow: hidden; */
      }
      div{
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
      }
    </style>
  </head>
  <body>
    <!-- <div class="box"></div> -->
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
